x86/viridian: set shutdown_code in response to CrashNotify
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 10 Aug 2018 15:43:42 +0000 (16:43 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 6 Sep 2018 15:38:11 +0000 (16:38 +0100)
commitc217412e9d4df1a8b10e0cbdae5c8a24d83f1cdd
tree8568f7aba9dc57a2359fa7ad163f77023d864114
parent340ac8a94ab307a7d5d7a894c36d3393e66382eb
x86/viridian: set shutdown_code in response to CrashNotify

When Windows writes the CrashNotify bit in the CRASH_CTL MSR then we know
it is crashing, so set the domain shutdown code appropriately.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/viridian.c